package com.dhcc.core.modules.system.service;

import java.io.Serializable;
import java.util.List;

import com.dhcc.core.framework.base.service.IBaseService;
import com.dhcc.core.framework.result.node.ZTreeNode;
import com.dhcc.core.modules.system.entity.Group;


/**
 * 群组表数据服务层接口
 * 
 * @ClassName: IGroupService
 * @Description: TODO
 * @author lifan
 * @date 2018-08-21 10:11:02
 */
public interface IGroupService  extends IBaseService<Group> {
	
	//删除群组及群组成员
	boolean deleteById(Serializable id,Long groupId);
	
	//获取群组的tree
	List<ZTreeNode> groupTree(String map);
    
    List<ZTreeNode> treeMemberPublic();
    
    List<ZTreeNode> treeMemberPersonal(Long userId);
	
}
